package com.fm.openinstall.d;

import com.fm.openinstall.listener.*;
import java.io.*;

public class d extends Thread
{
    private String a;
    private String b;
    private GetUpdateApkListener c;

    public d(final String a, final String b, final GetUpdateApkListener c) {
        this.a = a;
        this.b = b;
        this.c = c;
    }

    @Override
    public void run() {
        final File file = new File(this.a);
        final File file2 = new File(this.b);
        try {
            com.fm.openinstall.d.b.a(null, file, file2);
            this.c.onGetFinish(file2);
        }
        catch (IOException ex) {
            ex.printStackTrace();
            this.c.onGetFinish(null);
        }
    }
}
